<h3>SKU列表</h3>
<div class='division'>
    <table class='gridlist' width='50%' cellspacing=0 cellpadding=0 border=0>
        <col style='width:5%;'></col>
        <col style='width:15%;'></col>
        <col style='width:30%;'></col>
        <col style='width:10%;'></col>
        <col style='width:20%;'></col>
        <thead>
            <tr>
                <th width='30px;'>操作</th>
                <th>基础物料编码</th>
                <th>基础物料名称</th>
                <th>店铺库存</th>
                <th>可售库存</th>
                <th>关联关系</th>
            </tr>
        </thead>
        <tbody>
            <{foreach from=$skus item=sku}>
            <tr>
                <td><{img src='bundle/upload.gif' app='desktop' style='cursor:pointer;text-align:center;vertical-align:middle;' onclick="request_stock(this,'{$sku.id}','{$sku.shop_title}');"}></td>
                <td><{$sku.shop_product_bn}></td>
                <td><{$sku.shop_title}></td>
                <td><{$sku.shop_stock}></td>
                <td><{input name='actual_stock' value=$sku.actual_stock size=8}>（实际库存：<span style='color:red;'><{$sku.astock}></span>）</td>
                <td><{if $sku.mapping =='1'}><div style='color:green;'>SKU已匹配</div><{else}><div style='color:red;'>SKU未匹配</div><{/if}></td>
            </tr>
            <{/foreach}>
        </tbody>
    </table>
</div>